package xyz.gzdxc.common.service;

import xyz.gzdxc.common.mysql.entity.MenuEntity;
import xyz.gzdxc.common.vo.response.MenuTreeVo;

import java.util.List;

public interface MenuService {
    /**
     * get the menu list by user id
     */
    List<MenuEntity> getMenuListByUserId(Long userId);

    /**
     * get the menu tree by user id
     */
    List<MenuTreeVo> getMenuTreeByUserId(Long userId);
}
